<template>
  <n-config-provider class="container" :theme="darkTheme" :locale="zhCN" :data-locale="dateZhCN">
    <n-dialog-provider>
      <n-message-provider>
        <router-view />
      </n-message-provider>
    </n-dialog-provider>
  </n-config-provider>
</template>

<script setup lang="ts">
import { darkTheme, zhCN, dateZhCN, NConfigProvider, NDialogProvider, NMessageProvider } from "naive-ui"
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  height: 100vh;
}

.container {
  min-height: 100vh;
}
</style>
